package com.huoyun.announcement.dao;

import java.util.List;

import com.huoyun.announcement.bean.Notice;
import com.huoyun.base.dao.BaseDao;

public interface NoticeDao extends BaseDao<Notice> {
	public void insert(Notice notice);

	public List<Notice> selectByReceiverAndType(Notice notice);
	
	public List<Notice> selectByReceiverId(long id);

	public Notice selectById(long id);

	public void setReadById(long id);

	public void deleteById(long id);
}
